package euler.helpers;

import junit.framework.TestCase;

public class TestBase extends TestCase {
	
	protected final Iterable primes = new SievePrimes().apply(1000000l);
	
	long start, finish;
	
	@Override
	protected void setUp() throws Exception {
		start = System.currentTimeMillis();
		super.setUp();
	}
	@Override
	protected void tearDown() throws Exception {
		finish = System.currentTimeMillis();
		System.out.println("\ttook "+(finish-start)+"ms");
		super.tearDown();
	}
}
